#pragma once
#include "cocos2d.h"

using namespace cocos2d;

class OverLayer : public Layer
{
	OverLayer();
	~OverLayer();

	static OverLayer* thisLayer;

	EventListener* m_listener;

	void showMenu();
	void showStars(int starIndex);
	bool callBack();
	void homeCallBack();
	void restartCallBack();
	void shareCallBack();
public:
	static void showLayer(int score);	
	static void disposeLayer();

	CREATE_FUNC(OverLayer);
};

